ADP\BaseVersion\Includes\Rule\GiftStrategy A

Total Complexity 62
Dependencies 13
Dependents 3
Total lines 417
Lines of code 244
Logical lines of code 161
Comment lines 82
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
addCartSetGifts()
B
37 18 74
addCartItemGifts()
B
37 17 72
prepareFreeCartItem()
A
48 11 34
processFreeItem()
S
52 5 24
convertGiftToFreeCartItemChoices()
S
53 5 23
canGift()
S
78 2 3
canItemGifts()
S
73 2 5
__construct()
S
73 1 5
addGifts()
S
76 1 4